package com.wy.entity;

import com.wy.common.util.excel.ExcelImport;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import java.io.File;
import java.io.Serializable;

@Data
public class ExcelImportEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    @ExcelImport("姓名")
    private String name;
    @ExcelImport("年龄")
    private Integer age;
    @ExcelImport("时间")
    private String time;
    @ExcelImport("部门")
    private String department;
    @ExcelImport("公司")
    private String company;
    @ExcelImport("地址")
    private String address;
    private MultipartFile multipartFile;
    private File file;
    //存储原数据结构类型
    private String rowData;
}
